package com.example.carRental.service;

import com.example.carRental.entity.Car;
import com.example.carRental.entity.Charterer;
import com.example.carRental.utils.RD;

import java.util.List;

/**
 * @author 92307
 * @version 1.0
 * @time 2022/3/23
 * @Describe 商户service
 */
public interface ChartererService {
    Charterer getInfo();

    void addCar(Car car);

    List<Car> getCarList();

    String getNameById(Integer ChartererId);

    Charterer getByName(String name);
}
